package 反射;

public class 测试用主函数 {
    public static void main(String[] args) throws ClassNotFoundException {
        Class 类1=类.class;
        System.out.println(类1.getName());
        System.out.println(类1.getSimpleName());
        Class 类2=Class.forName("反射.类");
        System.out.println(类2);
        System.out.println(类1==类2);
        类 类类=new 类("ygu");
        Class 类3=类类.getClass();
        System.out.println(类3==类1);

    }
}
